package com.job.zhaokaiqiang;

/**
 * @author DELL
 * @version 1.0
 * @since 2022-07-04 13:34:19
 */
public class Xuanze {
    public static void paixu2(int []shuzu)
    {
        int i,j;
        for(i=0;i<shuzu.length-1;i++)
        {
            for(j=i+1;j<shuzu.length;j++)
            {
                if(shuzu[i]<shuzu[j])
                {
                    int temp;
                    temp=shuzu[i];
                    shuzu[i]=shuzu[j];
                    shuzu[j]=temp;
                }
            }
        }
    }

}
